package com.asiainfo_linkage.runtask;

import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import com.asiainfo_linkage.service.RemTaskMemberService;
import com.asiainfo_linkage.service.SendService;

/**
 * 系统启动的时候生成触发器。
 * @author Administrator
 */
@IocBean(create="build")
public class BuildAllTasks {
	@Inject 
	protected SendService sendService;	
	
	@Inject 
	protected RemTaskMemberService remTaskMemberService;
	
	@Inject
	protected MyTimerTask myTimerTask;

	public void build(){
		MyTask myTask=new MyTask(null,null);
		myTimerTask.schedule(myTask);
	}

}
